import { StrictMode, Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import { RouterProvider } from 'react-router-dom'
import routes from './router'
import './i18n/i18n.tsx'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <Suspense fallback={<div>loading....</div>}>
    
    <RouterProvider router={routes}></RouterProvider>
 
    
    </Suspense>
    
  </StrictMode>,
)
